package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 收藏DO
 * 
 * @author JY
 * 
 */
@Entity
@Table(name = "reg_collection")
@Setter
@Getter
@ToString(callSuper = true)
public class RegCollectionDO extends BaseDO {

	private static final long serialVersionUID = 572620271806237219L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	
	private Long collectId;
	
	private Long userId;
	
	private Integer collectOwnerType;
	
	private Long collectOwnerId;

}
